--- import '../../../styles/thread.css'; import '../../../styles/blackbox.css'; import ThreadLayout from '../../../layouts/ThreadLayout.astro'; import Thread from '../../../components/Thread.astro' import type Thread from '../../../models/Thread';; import { api } from '../../../lib/api'; import { processThreadIn } from '../../../lib/thread'; const { board, tid } = Astro.params; const data = await api('get', `board/${board}/${tid}`); if(data.status === 404) return Astro.redirect('/404'); const thread: Thread = await data.json(); processThreadIn(board, thread); ---

{board}